package com.hsd.whb.service;

import com.hsd.whb.entity.Recorder;
import com.wangjiacai.hqlQuery.service.BaseService;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface RecorderService extends BaseService {

    Recorder findByUsername(String username);

    Recorder findById(Integer id);

    Recorder updateRecorder(Recorder recorder);

    Recorder saveRecorder(Recorder recorder, String username);

    void deleteRecorderById(Integer id);

    long findRecorderListTotalPages(String username, Recorder recorder);

    List<Recorder> findRecorderList(Pageable pageable, String username, Recorder recorder);

}
